FROM beevelop/cordova

MAINTAINER      Dongasai "1514582970@qq.com"

RUN apt update;apt install -y vim
WORKDIR /home/
RUN npm install -g cnpm --registry=https://registry.npm.taobao.org
RUN cnpm install -g yarn
COPY . /home/
WORKDIR /home/
RUN cnpm install
ENV APP_BASE_URL="http://wugengji.thinklev.com"
WORKDIR /home/
CMD npm run build


